@bgSet: center center / 100% 100% no-repeat;
@bluColor: #2c72ff;
@disabledColor: #89aef7;
@iconSize: 20px;

// 报表列表 .reportList.js
.report-list {
  min-height: 50vh;
  position: relative;
  &::before {
    content: '';
    width: 100vw;
    height: 1px;
    position: absolute;
    box-shadow: 1px 0px 20px 10px @bluColor;
    top: 0;
    display: block;
    z-index: 1000;
  }

  .scroll-list {
    height: e('calc(100vh - 174px)');
    padding-bottom: 10vh;
  }

}

// 选择 仪表盘显示的弹窗 .selectDbModal.js
.modal-container {
  height: 100vh;
  padding: 0 20px;
  padding-top: 20px;
  color: #555;
  .modal-header {
    @height: 40px;
    height: @height;
    line-height: @height;
    font-size: 1.2em;
    font-weight: 600;
    position: relative;

    .close {
      height: @iconSize;
      width: @iconSize;
      background: url('/icon/close.png') @bgSet;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translate(0, -50%);
      &:active {
        background: url('/icon/close-action.png') @bgSet;
      }
    }
  }
  .sdb-card {
    .card-head {
      display: flex;
      justify-content: space-between;
      font-weight: 550;
      a:active {
        color: #ccc;
      }
    }
    .card-body {
      padding: 10px 0;
      display: flex;
      flex-wrap: wrap;
      .tag {
        display: flex;
        padding: 2px;
        border-radius: 20px;
        overflow: hidden;
        margin: 5px;
        border: 1px solid #999;
        &.tag-selected {
          border-color: @bluColor;
          background: @bluColor;
          color: #fff;
        }
        &.tag-selected.tag-disabled {
          border-color: @disabledColor;
          background: @disabledColor;
        }
      }

      .tagSider {
        width: 18px;
      }

    }
  }
}

// 数据预览 dataPreview.js

.data-preview {
  width: 100vw;
  padding: 20px;
  .data-card {
    overflow: hidden;
    background: #fff;
    border-radius: 5px;
    .card-header {
      @height: 40px;
      height: @height;
      line-height: @height;
      text-align: center;
      text-indent: 1em;
      font-weight: 600;
    }
    .card-body {
      min-height: 100px;
      position: relative;
      &::before {
        content: "";
        height: 100%;
        width: 100%;
        /* background: #999; */
        z-index: 10;
        position: absolute;
        left: 0;
        top: 0;
      }
      .table-preview {
        max-height: 200px;
        width: 100%;
      }
    }
  }
}

.no-data {
  height: 100%;
  width: 100%;
  background: url(/icon/default-no-data.png) center center no-repeat;
}
